package com.runfast.waimai.service;

import com.runfast.common.service.IService;
import com.runfast.waimai.dao.model.WaiMaiRunfastAgentaccounts;
import com.runfast.waimai.dao.model.WaiMaiRunfastAgentaccountsExample;

import java.util.List;
import java.util.Map;

public interface WaiMaiRunfastAgentaccountsService extends IService<WaiMaiRunfastAgentaccounts, Integer, WaiMaiRunfastAgentaccountsExample> {

    public WaiMaiRunfastAgentaccounts findByaccounts(String accounts);

    /**
     * 修改密码
     * */
    public boolean updatePassword(Integer id, String password, String newPassword);

    List<WaiMaiRunfastAgentaccounts> selectByMapWithPageable(Map<Object,Object> map);
    Integer  countByMap(Map<Object,Object> map);
}